﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HotelManagement.DTO
{
    class AccountDTO:Human
    {
#region "Variables"
        private string userName;
        private string password;
        private string accountType;
        private string picture;
        private string description;
        
        
        
#endregion

#region "Properties"
        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }
        public string Password
        {
            get { return password; }
            set { password = value; }
        }

        public string AccountType
        {
            get { return accountType; }
            set { accountType = value; }
        }
        public string Picture
        {
            get { return picture; }
            set { picture = value; }
        }
        public string Description
        {
            get { return description; }
            set { description = value; }
        }

#endregion

#region "Constructor"
        public AccountDTO():base()
        {
            this.userName = "";
            this.password = "";
            this.accountType = "";
            this.Picture = "";
        }
        public AccountDTO(string pPassword, string pAccountType, string pName, string pIDNo, string pGender, DateTime pBirthYear, string pAddress, string pDescription, string pPicture,string pPhoneNumer) :
            base(pName,pIDNo,pGender,pBirthYear,pPhoneNumer,pAddress)
        {
            this.password = pPassword;
            this.accountType = pAccountType;
            this.picture = pPicture;
            this.Description = pDescription;
        }
        public AccountDTO(string pUserName,string pPassword, string pAccountType, string pName, string pIDNo, string pGender, DateTime pBirthYear, string pAddress, string pDescription, string pPicture, string pPhoneNumer) :
            base(pName, pIDNo, pGender, pBirthYear, pPhoneNumer, pAddress)
        {
            this.userName = pUserName;
            this.password = pPassword;
            this.accountType = pAccountType;
            this.picture = pPicture;
            this.Description = pDescription;
        }
        public AccountDTO(AccountDTO pDto)
        {
            this.UserName = pDto.UserName;
            this.Password = pDto.Password;
            this.AccountType = pDto.AccountType;
            this.Name = pDto.Name;
            this.IDNo_Passport = pDto.IDNo_Passport;
            this.Gender = pDto.Gender;
            this.BirthYear = pDto.BirthYear;
            this.Address = pDto.Address;
            this.Description = pDto.Description;
            this.Picture = pDto.Picture;
        }
        public AccountDTO Gan(AccountDTO pDto)
        {
            this.UserName = pDto.UserName;
            this.Password = pDto.Password;
            this.AccountType = pDto.AccountType;
            this.Name = pDto.Name;
            this.IDNo_Passport = pDto.IDNo_Passport;
            this.Gender = pDto.Gender;
            this.BirthYear = pDto.BirthYear;
            this.Address = pDto.Address;
            this.Description = pDto.Description;
            this.Picture = pDto.Picture;
            return this;
        }
#endregion
    }
}
